#pragma once
#include "afxwin.h"
#include <MMSystem.h>
#pragma comment(lib, "Winmm.lib")


// CNotifyDlg dialog

class CNotifyDlg : public CDialogEx
{
	DECLARE_DYNAMIC(CNotifyDlg)

public:
	CNotifyDlg(CWnd* pParent = NULL);   // standard constructor
	virtual ~CNotifyDlg();

// Dialog Data
	enum { IDD = IDD_NOTIFY };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
private:
	CStatic m_CapitionCtrl;
public:
	virtual BOOL OnInitDialog();
private:
	CFont m_fCapFont;
	CFont m_fMsgFont;
public:
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	CString m_strCap;
	CString m_strMsg;
	CString m_strSound;
	virtual void OnCancel();
	int m_iSoundTimeout;
	afx_msg void OnTimer(UINT_PTR nIDEvent);
	virtual void OnFinalRelease();
};
